package com.health.framework.dao;

import java.io.Serializable;
import java.util.List;

public interface IBaseDao<E, PK extends Serializable> {

    public E get(PK id);

    public List<E> getAll();

    public void save(E e);

    public void update(E e);

    public void delete(PK id);

    public void delete(E e);
    
    public boolean isUnique(E e, String key);

}
